import Vue from 'vue'
import App from './App.vue'
import router from './router.js'
import store from './store.js'
// 导入轮播图插件
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)
// 导入全局过滤器
import MyFilter from 'common/filter'
for (let key in MyFilter) {
  Vue.filter(key, MyFilter[key])
}


Vue.config.productionTip = false
// vue实例做一个事件总线
Vue.prototype.$bus = new Vue()

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
